package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    R<Page> bypage(int page, int pageSize, String name);

    R<String> saveWithSetmeadish(SetmealDto dto);

    R<String> update(SetmealDto dto);

    R<String> deletewithdish(List<Long> ids);
}
